#ifndef __DAY02_H_
#define __DAY02_H_
#include <iostream>
using namespace std;
#define ARGS_CHECK(argc, num)               \
    {                                       \
        if (argc != num)                    \
        {                                   \
            fprintf(stderr, args error !n); \
            return -1;                      \
        }                                   \
    }
#define ERROR_CHECK(ret, num, msg) \
    {                              \
        if (ret == num)            \
        {                          \
            perror(msg);           \
            exit(1);               \
        }                          \
    }

class stu
{
public:
    stu(string new_name,int new_age);
    stu(string new_name);
    stu(int new_age,string new_name);
    stu(const stu &stu_new);
    stu (const stu *stu_new);
    ~stu();
public:
    string getname();
    int getage();
private:
    string name;
    int age;
};
#endif
